#pragma once

#include <QtWidgets/QWidget>
#include "ui_mySql.h"
#include <qsqldatabase.h>
#include <qmessagebox.h>
#include <qdebug.h>
#include <qsqlquery.h>
#include "table.h"

class mySql : public QWidget
{
    Q_OBJECT

public:
    mySql(QWidget *parent = nullptr);
    ~mySql();
private slots:
	void on_insertPushButton_clicked();
	void on_foundPushButton_clicked();
	void on_tablePushButton_clicked();
private:
    Ui::mySqlClass ui;
	QSqlDatabase database;
};
